wcbel\classes\controllers\WCBEL_Ajax D

Total Complexity 316
Dependencies 17
Dependents 1
Total lines 1,295
Lines of code 1,101
Logical lines of code 610
Comment lines 0
Methods 40
Properties 3

Methods 40

Method Rating Maintainability Complexity Lines of code
set_products_variations()
C
33 29 90
delete_products_variations()
B
42 21 47
get_product_variations()
B
35 19 75
delete_products()
B
38 19 65
save_column_profile()
A
40 14 60
get_product_variations_for_attach()
A
45 12 38
history_change_page()
A
46 12 35
add_product_attribute()
A
46 11 35
product_edit()
A
42 9 50
get_text_editor_content()
A
50 9 28
duplicate_product()
A
53 9 21
column_manager_add_field()
A
54 9 17
column_manager_get_fields_for_edit()
A
49 7 31
get_products_name()
S
50 7 28
add_product_taxonomy()
S
51 7 25
get_product_files()
S
51 7 25
get_product_data()
S
53 7 21
get_taxonomy_parent_select_box()
S
53 7 21
get_product_by_ids()
S
55 7 19
untrash_products()
S
57 7 15
sort_by_column()
S
52 6 23
get_attribute_values()
S
53 6 21
get_attribute_values_for_delete()
S
53 6 21
get_attribute_values_for_attach()
S
53 6 21
create_new_product()
S
57 6 15
load_filter_profile()
S
51 5 26
save_history_for_delete()
S
52 5 25
save_filter_preset()
S
52 5 22
get_product_gallery_images()
S
55 5 18
products_filter()
S
56 5 17
delete_filter_profile()
S
58 5 16
empty_trash()
S
57 5 16
change_count_per_page()
S
58 4 15
filter_profile_change_use_always()
S
61 4 12
get_default_filter_profile_products()
S
58 3 15
add_new_file_item()
S
60 3 12
__construct()
S
45 1 40
clear_filter_data()
S
63 3 10
register_callback()
S
72 2 6
make_response()
S
74 2 4